﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="Test1.App"
             >
    <Application.Resources>
        <Style x:Key="BackButton" TargetType="Button">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush>
                        <LinearGradientBrush.GradientStops>
                            <GradientStop Offset="0.2" Color="LightBlue"/>
                            <GradientStop Offset="0.6" Color="BlueViolet"/>
                        </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackButtonSimple" TargetType="Button">
            <Setter Property="Background" Value="Red"/>
            <Setter Property="Foreground" Value="OrangeRed"/>
        </Style>
        <Style x:Key="BackGrid" TargetType="Grid">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush>
                        <LinearGradientBrush.GradientStops>
                            <GradientStop Offset="0.3" Color="AliceBlue"/>
                            <GradientStop Offset="0.7" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </LinearGradientBrush.GradientStops>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="BackGridRadial" TargetType="Grid">
            <Setter Property="Background">
                <Setter.Value>
                    <RadialGradientBrush Center="0.2,0.3">
                        <RadialGradientBrush.GradientStops>
                            <GradientStop Offset="0.1" Color="LightBlue"/>
                            <GradientStop Offset="0.8" Color="SteelBlue"/>
                            <GradientStop Offset="1" Color="Black"/>
                        </RadialGradientBrush.GradientStops>
                    </RadialGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>
    </Application.Resources>
</Application>
